﻿@{
    ViewBag.Title = "Admin Control Panel";
    Layout = "~/Views/Shared/_Admin_Layout.cshtml";
}
<h2>Control Panel</h2>
<div class="cpanel-left">
    <div id="cpanel">
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLySach", "Admin")'>
                    <img alt="" src="@Url.Content("~/Content/themes/base/images/icon 48 books.jpg")"/>
                    <span>Quản Lý Sách</span>
                </a>
            </div>
        </div>
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLyDonMuonSach", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon-48-stats.png")"/>
                <span>Quản Lý Đơn Mượn Sách</span>
                </a>
            </div>
        </div>
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLyDonTraMuonSach", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon-paper48.png")"/>
                <span>Quản Lý Đơn Trả Muộn Sách</span>
                </a>
            </div>
        </div>
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLyBienLai", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon 48 bill.png")"/>
                <span>Quản Lý Biên Lai</span>
                </a>
            </div>
        </div>
        @if (User.IsInRole("Super Administrator"))
        {
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLyNhanVien", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon-48-user.png")" />
                <span>Quản Lý Nhân Viên</span>
                </a>
            </div>
        </div>
        }
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLySinhVien", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon-48-contacts.png")"/>
                <span>Quản Lý Sinh Viên</span>
                </a>
            </div>
        </div>
        <div class="icon-wrapper">
            <div class="icon">
                <a href='@Url.Action("QuanLyTheLoai", "Admin")'>
                <img alt="" src="@Url.Content("~/Content/themes/base/images/icon_category_a.gif")"/>
                <span>Quản Lý Thể Loại</span>
                </a>
            </div>
        </div>
    </div>
    <div style="clear: both"></div>
</div>
<div class="cpanel-right">
    Hello Admin
</div>
<div style="clear: both"></div>